public class RunWindow extends Thread {
    DmjMain dmjMain;
    public void getMainWindow(DmjMain dmjMain1){
        dmjMain = dmjMain1;
        dmjMain.mainWindow = new MainWindow();
    }

    @Override
    public void run() {
        dmjMain.mainWindow.main(null);
    }
}
